package com.lanp.gencode.apifox.model;

import com.alibaba.fastjson.PropertyNamingStrategy;
import com.alibaba.fastjson.annotation.JSONType;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

/**
 * @author jiangpeng
 * Created with IntelliJ IDEA.
 * Description:  分页查询通用参数
 * Date: 2022-08-11 16:06:29
 */
@JSONType(naming = PropertyNamingStrategy.SnakeCase)
@JsonNaming(com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategy.class)
public class PageInfoInDto {
    /**
     * 页数
     */
    protected Integer pageSize = 10;
    /**
     * 页码
     */
    protected Integer pageNum = 1;
    /**
     * 是否分页
     */
    protected Boolean pageFlag = true;
    /**
     * 当前登录账号名称
     */
    protected String currentAccountName;
    /**
     * 当前登录店铺
     */
    protected Long currentCompanyId;
    /**
     * 当前操作人（主用运营后台）
     */
    private String currentOperator;
    /**
     * 当前操作人id（主用运营后台）
     */
    private Long currentAssociatedId;


    public Long getCurrentAssociatedId() {
        return currentAssociatedId;
    }

    public void setCurrentAssociatedId(Long currentAssociatedId) {
        this.currentAssociatedId = currentAssociatedId;
    }

    public String getCurrentOperator() {
        return currentOperator;
    }

    public void setCurrentOperator(String currentOperator) {
        this.currentOperator = currentOperator;
    }

    public String getCurrentAccountName() {
        return currentAccountName;
    }

    public void setCurrentAccountName(String currentAccountName) {
        this.currentAccountName = currentAccountName;
    }

    public Long getCurrentCompanyId() {
        return currentCompanyId;
    }

    public void setCurrentCompanyId(Long currentCompanyId) {
        this.currentCompanyId = currentCompanyId;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Boolean getPage() {
        return pageFlag;
    }

    public void setPage(Boolean page) {
        pageFlag = page;
    }

    public Boolean getPageFlag() {
        return pageFlag;
    }

    public void setPageFlag(Boolean pageFlag) {
        this.pageFlag = pageFlag;
    }


}
